<template>
  <div>
      <div class='top'>
          <img src="http://liufusong.top:8080/img/profile/bg.png" >
      </div>
      <div class='squre'>
        <div class='yuan'><img src="http://liufusong.top:8080/img/profile/avatar.png"></div>
            <span>游客</span>
            <div class="login" @click="$router.push('/login')">去登录</div>
      </div>
      <div class='middle'>
        <van-grid clickable :column-num="3" >
          <van-grid-item icon="star-o" text="我的收藏" to="/" />
          <van-grid-item icon="wap-home-o" text="我的出租" url="/vant/mobile.html" />
          <van-grid-item icon="underway-o" text="看房记录" url="/vant/mobile.html" />
        </van-grid>
        <van-grid clickable :column-num="3">
        <van-grid-item icon="shop-collect-o" text="成为房主" to="/" />
        <van-grid-item icon="contact" text="个人资料" url="/vant/mobile.html" />
         <van-grid-item icon="service-o" text="联系我们" url="/vant/mobile.html" />
       </van-grid>
      </div>
      <div class='bottom'>
<img src="http://liufusong.top:8080/img/profile/join.png" >
      </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.bottom{
  margin-left: 10px;
  margin-top: 15px;
  width: 95%;
  height: 129px;
}
.bottom img{
width: 100%;
}
.middle{
background-color: #fff;
z-index: 999;
}
/deep/ .van-grid {
background-color: #fff;
z-index: 999;
}
 .top{
    width: 100%;
    height:264px;
    // background-color:pink;
    position: relative;
    }
  .top img{
    width: 100%;
    height: 150px;
  }
  .squre{
    position: absolute;
    background-color: white;
    width: 80%;
    height: 150px;
    top:108px;
    left:35px;
    font-size: 14px;
     box-shadow:0px 0px 10px 1px #aaa;//默认边框阴影是外部阴影
 }
 .squre span{
display: block;
margin-top: 40px;
margin-left: 135px;
 }
 .squre .login{
  margin-top: 20px;
margin-left: 115px;
background-color: #2eb979;
color:white;
width: 70px;
height:25px;
border-radius: 3px;
text-align: center;
padding-top: 5px;
 }
  .yuan{
    position:absolute;
    left:119px;
    top:-37px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color:#f5f5f5;

  }
.yuan img{
  width: 66px;
    height: 66px;
}
</style>
